package www.lagou.app;

import org.junit.Test;
import www.lagou.dao.PhoneDao;

import java.sql.SQLException;

public class PhoneTest {
    PhoneDao phoneDao=new PhoneDao();
    @Test
    public void phoneTest(){
        try {
            phoneDao.selectByPrice();
            phoneDao.selectByColor();
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
